<?php
$this->dojo()->enable();
?>

<script type="text/javascript">
    dojo.require("dijit.TitlePane");

    var tp;
    dojo.addOnLoad(function() {
        tp = new dijit.TitlePane({
            title: "Click here to view the Standard Grade Scale",
            content: "<table><tr><td>  Grade</td><td>A</td><td>A-</td><td>B+</td><td>B</td><td>B-</td><td>C+</td><td>C</td>\n\
<td>C-</td><td>D+</td<td>D</td><td>D-</td><td>F</td><tr></table><tr><td>Equivalent</td><td>4.00</td><td>3.67</td>\n\
<td>3.33</td><td>3.00</td><td>2.67</td><td>2.33</td><td>2.00</td><td>1.67</td><td>1.33</td><td>1.00</td><td>0.67</td><td>0.00</td></tr>",

            open: false
        });
        dojo.byId("holder").appendChild(tp.domNode);
        });
</script>



<style type="text/css">

th
{
background-color:orange;
color:white;
}

td
{
   font-size: 90%;
   font-family:Serif;
   
}
tr:hover{
	background-color: white;
}

</style>
<div>
<p>Welcome to the Student Module!
</div>
<br><br>

<p><a href="<?php echo $this->url(array('module'=>'student', 'controller'=>'index',
'action'=>'welcome'));?>"><u>Go to your personal student module page</u></a><br><br>or</p>
<br>
<h3>Quickly enter grades and calculate your GPA!</h3><br>

<div id="holder" style="width: 540px">
</div>
 
<div style="border: 2em groove; border-width: 1px;width: 538px;">
    <br>
<?php
echo $this->form;
?>   
</div>
<div style="border: 2em groove; border-width: 1px;width: 538px;text-align: center;">
    <?php
    echo '<b>'.$this->message.'</b>';
    ?>
</div>
    


